/* ----------------------------------------------------------------------------
* File: exception.h
*
* Desc: Common exception stuff
*
* Created: 03/05/2011, by Alexey Korshunov
* ---------------------------------------------------------------------------- */
#ifndef _COMMON_EXCEPTION_H_
#define _COMMON_EXCEPTION_H_

#include <string>

namespace Common
{
	class Exception
	{
	public:
		explicit Exception(const std::string& Str) : m_Str(Str) {}
		virtual ~Exception() {}

		virtual const std::string& GetStr() const { return m_Str; }

	private:
		std::string m_Str;
	};
}


#endif // _COMMON_EXCEPTION_H_